<?php echo form_open('administrador/cadastrarPerfil');?>
	<p>Nome</p>
	<?php echo form_input('name', '');?>
	<p>Descricao</p>
	<?php echo form_input('description', '');?>
	<?php foreach ($actions as $action) : ?>
		<?php if(!$action->public):?>
			<div class="action">
				<?php echo $action->uri; ?>
				<?php echo $action->description; ?>
				<?php echo form_checkbox('actions[]', $action->id, $action->checked); ?>
			</div>
		<?php endif;?>
	<?php endforeach; ?>
	<?php echo form_submit('', 'Cadastrar');?>
<?php echo form_close();?>
<a href="<?php echo base_url(); ?>index.php/administrador/listarPerfil">Listar Perfil</a>
